/*
 * Create Author  : jinpeng.chen
 * Create Date    : 2016-11-21
 * Project        : spring-boot
 * File Name      : JSR250WayService.java
 *
 * Copyright (c) 2010-2015 by Shanghai HanTao Information Co., Ltd.
 * All rights reserved.
 *
 */
package com.charles.spring.service;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * 功能描述:  <p>
 *
 * @author : jinpeng.chen <p>
 * @version 1.0 2016-11-21
 * @since spring-boot 1.0
 */
public class JSR250WayService {

    @PostConstruct
    public void init() {
        System.out.println("jsr init...");
    }

    public JSR250WayService() {
        System.out.println("jsr constructor...");
    }

    @PreDestroy
    public void destory() {
        System.out.println("jsr-destory...");
    }
}
